﻿using System;

using EmbeddedSensorCloud.Command;

namespace EmbeddedSensorCloud.UnitTest
{
    internal class NilCommand : CommandBase
    {
        private string desc = "nil desc";
        private string name = "nil";
        private string syntax = "nil";
        private string requiredArgs = "";

        public override string Description
        {
            get { return this.desc; }
        }

        public override string Name
        {
            get { return this.name; }
        }

        public override string Syntax
        {
            get { return this.syntax; }
        }

        public override string RequiredArgumentRegex
        {
            get { return this.requiredArgs; }
        }

        public NilCommand() : base()
        {
        }

        public NilCommand(string name, string desc, string syntax, string requiredArgs) : base()
        {
            this.name = name;
            this.desc = desc;
            this.syntax = syntax;
            this.requiredArgs = requiredArgs;
        }

        protected override void execute(string[] param)
        {
            throw new InvalidOperationException();
        }
    }
}
